package com.dimension.service.impl;

import com.dimension.entity.Admin;
import com.dimension.mapper.AdminMapper;
import com.dimension.service.AdminService;
import com.dimension.utils.SessionUtil;

import java.util.List;

public class AdminServiceImpl implements AdminService {
    private AdminMapper adminMapper = SessionUtil.getMapper(AdminMapper.class);

    @Override
    public List<Admin> getAll() {
        return adminMapper.getAll();
    }
}
